package com.hexin.jxb.common;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Email;

public class JxbRegistAccountRequest extends JxbRequestParams {
	@NotNull
	@Max(value=6)
	private String channel;  //交易渠道
	@NotNull
	@Max(value=2)
	private String idType;   //证件类型
	@NotNull
	@Max(value=18)
	private String idNo;     //证件号码
	@NotNull
	@Max(value=60)
	private String name;     //姓名
	@NotNull
	@Max(value=11)
	private String mobile;   //手机号
	@NotNull
	@Max(value=19)
	private String cardNo;   //银行卡号
	@Email
	@Max(value=40)
	private String email;    //邮箱
	@NotNull
	@Max(value=5)
	private String acctUse;  //账户用途
	@NotNull
	private String acqRes;   //请求方保留
	
	public String getChannel() {
		return channel;
	}
	public void setChannel(String channel) {
		this.channel = channel;
	}
	public String getIdType() {
		return idType;
	}
	public void setIdType(String idType) {
		this.idType = idType;
	}
	public String getIdNo() {
		return idNo;
	}
	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getAcctUse() {
		return acctUse;
	}
	public void setAcctUse(String acctUse) {
		this.acctUse = acctUse;
	}
	public String getAcqRes() {
		return acqRes;
	}
	public void setAcqRes(String acqRes) {
		this.acqRes = acqRes;
	}
	
	
}
